<div>
   <ul>
      <li *ngFor="let item of toolbarList">
         <i class="iconfont" [ngClass]="item['className']" nz-popover [nzContent]="contentTemplate"
            *ngIf="item['className'] === 'icon-yanjing-shi'" nzTrigger="click" nzPlacement="bottom"
            (click)="showTableHeader()"></i>
         <i class="iconfont" [ngClass]="item['className']" *ngIf="item['className'] === 'icon-dayinfuyin-'"
            (click)="print()" nz-tooltip nzTitle="{{'toolbar.print'|translate}}" nzPlacement="bottom"></i>
         <i class="iconfont" [ngClass]="item['className']" *ngIf="item['className'] === 'icon-screenfull'"
            (click)="screnFull()"></i>
         <!-- <i class="iconfont" [ngClass]="item['className']" *ngIf="item['className'] === 'icon-CCTV' && accessButton?.MONITOR"
            (click)="cctv()"></i> -->
         <span class="dorpDown" *ngIf="item['className'] === 'icon-xiazai'">
            <i class="iconfont" [ngClass]="item['className']"></i>
            <ul class="dorpDownMenu" style="background-color: #1e213d;">
               <li (click)="download('CSV')" style="background-color: #2c3054;">EXCEL</li>
               <li (click)="download('PDF')"  style="background-color: #2c3054;">PDF</li>
            </ul>
         </span>
         <i class="iconfont" [ngClass]="item['className']" *ngIf="item['className'] === 'icon-dingwei'&& locatAccess"
            (click)="positioning()" nz-tooltip nzTitle="{{'toolbar.location'|translate}}" nzPlacement="bottom"></i>
         <i class="iconfont" [ngClass]="item['className']" *ngIf="item['className'] === 'icon-chakan'"
            (click)="showPhoto()" nz-tooltip nzTitle="{{'toolbar.view'|translate}}" nzPlacement="bottom"></i>
      </li>
   </ul>
</div>

<ng-template #contentTemplate>
   <ul class="headerSelect">
      <li *ngFor="let item of tableHeader,let i=index">
         <input type="checkbox" [(ngModel)]="item.isChecked">
         {{item.name}}
      </li>
   </ul>
</ng-template>
<itmp-photo-equipment *ngIf="isPhotoVisible" [(visible)]="isPhotoVisible" [photoGroup]="photoGroup">
</itmp-photo-equipment>
